package indi.zhifa.study2025.oa.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.engine.core.common.ann.enums.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@EnumDesc(name = "员工状态")
@RequiredArgsConstructor
public enum EUserStatus {

    NORMAL(1, "正常", "正常"),
    LEAVE(2, "离职", "离职");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String description;
}
